package com.coolcard.common.enums.enumItem;

import com.coolcard.framework.base.BaseEntity;
import jakarta.persistence.Column;
import jakarta.persistence.Entity;
import jakarta.persistence.Table;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 枚举项实体类
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Entity
@Table(name = "common_enum_item")
public class EnumItem extends BaseEntity {

    @Column(nullable = false)
    private String name;  // 枚举项名称

    @Column(nullable = false)
    private String value;  // 枚举项值

    @Column
    private String value2;  // 枚举项值2

    @Column
    private String value3;  // 枚举项值3

    @Column
    private String color;  // 颜色

    @Column
    private Double sort;  // 排序

    @Column
    private String remark;  // 备注

}
